package controller.formation
{
	import model.proxy.FormationProxy; 
	import org.puremvc.as3.interfaces.INotification; 
	import org.puremvc.as3.patterns.command.SimpleCommand;
	 
	public class ObtenirListeFormationsCommand extends SimpleCommand 
	{ 
		//public static const NAME : String = 'OBTENIR_LISTE_FORMATIONS_COMMAND';
		 
		/** 
		 * Constructor 
		 */ 
		public function ObtenirListeFormationsCommand() 
		{ 
			super(); 
		} 
		
		/** 
		 * Initialize all commands/controllers of the application 
		 */
		override public function execute(note : INotification) : void 
		{  
			var formationProxy:FormationProxy = facade.retrieveProxy(FormationProxy.NAME) as FormationProxy; 
			formationProxy.obtenirListeFormations(); 
		} 
	}
}